﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AboutDetailUC.ascx.cs"
    Inherits="VCN.home.UC.AboutDetailUC" %>
<div class="Aboutdetail" style="min-height: 280px;">
    <%
        VCN.App.DataAccessLayer.NewsDAO v_dao_news = new VCN.App.DataAccessLayer.NewsDAO();
        VCN.App.DataTransferObjects.News v_news_obj = v_dao_news.selectCompanyNews();
        if (v_news_obj != null)
        {                                  
    %>
    <div class="Aboutdetail-subtitle">
    </div>
    <div class="Aboutdetail-title" id="lblTitle">
        <p style="font-size: 22px; color: #000000; font-weight: bold; padding-bottom: 15px">
            <%// Ghi tiêu đề cho tin tức.\
                Response.Write(v_news_obj.Title);
            %></p>
    </div>
    <div id="Aboutdetail-content">
        <table>
            <tr>
                <td class="Aboutdetail-scontents" valign="top">
                    <div runat="server" id="lblShortContent">
                    </div>
                    <%Response.Write(v_news_obj.ShortContent); %>
                </td>
            </tr>
            <tr>
                <td>
                    <div class="seperator">
                    </div>
                </td>
            </tr>
            <tr>
                <td valign="top" style="margin-top: 15px;" class="Aboutdetail-contents">
                    <div id="lblContents" runat="server">
                    </div>
                    <% // Nội dung của bản tin.
                        Response.Write(v_news_obj.Contents);
                    %>
                </td>
            </tr>
        </table>
        <div class="Aboutdetail-bottom" style="text-align: right">
            <div runat="server" id="lblReference">
            </div>
            (Theo
            <% Response.Write((v_news_obj.Reference == null || v_news_obj.Reference == "") ? "VCN" : v_news_obj.Reference); %>
            )
        </div>
    </div>
    <%} %>
</div>
